//
//  StationDetailModel.h
//  AirQuality
//
//  Created by Mac on 16/1/22.
//  Copyright © 2016年 Po. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface StationDetailModel : NSObject

- (instancetype)initWith:(NSString *)cityCode;
/**
 *  一个月数据回调
 *
 *  @param type 污染类型
 *
 *  @return 数据
 */
- (NSDictionary *)get30DataWithType:(NSString *)type;
/**
 *  一年数据回调
 *
 *  @param type 污染类型
 *
 *  @return 数据
 */
- (NSDictionary *)get365dataWithType:(NSString *)type;
@property (strong, nonatomic) NSString * STATIONCODE;
@property (strong, nonatomic) NSString * STATIONNAME;
@property (strong, nonatomic) NSString * CO;
@property (strong, nonatomic) NSString * AQI;
@property (strong, nonatomic) NSString * TIMEPOINT;
@property (strong, nonatomic) NSString * O3;
@property (strong, nonatomic) NSString * NO2;
@property (strong, nonatomic) NSString * PM2_5;
@property (strong, nonatomic) NSString * SO2;
@property (strong, nonatomic) NSString * PM10;
- (instancetype)initWithDic:(NSDictionary *)dic;
+ (instancetype)initWithDic:(NSDictionary *)dic;
+ (NSArray *)stationDetailYear;

@end
